package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 问卷
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("soul_paper")
public class SoulPaper implements Serializable {
    /*问卷编号*/
    private ObjectId id;
    /*问卷名称 初级灵魂题,中级灵魂题,高级灵魂题*/
    private String name;
    /*封面*/
    private String cover;
    /*级别 初级,中级,高级*/
    private String level;
    /*星别（例如：2颗星，3颗星，5颗星）*/
    private Integer star;
}
